package com.wps.wdztv6.api.request;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.SerializerFeature;
import lombok.*;

import java.util.ArrayList;

@Data
@Builder
public class MergeDocumentRequest {

    @JSONField(name = "task_id")
    private String taskId;

    @JSONField(name = "merged_file_list")
    private ArrayList<MergeFile> mergedFileList;

    @Getter
    @Setter
    @ToString
    @Builder
    public static class MergeFile{
        @JSONField(name = "doc_url")
        private String docUrl;
        @JSONField(name = "doc_filename")
        private String docFilename;
        private Integer start;
        private Integer end;
    }
}
